<template>
	<div id="app">
		<transition name="fade" mode="out-in">
			<router-view></router-view>
		</transition>
	</div>
</template>

<style lang="scss">
html{
	height: 100%;
}
body {
	height: 100%;
	margin: 0px;
	padding: 0px;
    background-size: cover;
	font-family: Microsoft YaHei, SimSun, sans-serif;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
}

#app {
	position: absolute;
	top: 0px;
	bottom: 0px;
	width: 100%;
	background: url(assets/images/login-bg.jpg) no-repeat center center;
	background-size: cover;
	//background-color: #8391a5;
}

.el-submenu [class^=fa] {
	vertical-align: baseline;
	margin-right: 10px;
}

.el-menu-item [class^=fa] {
	vertical-align: baseline;
	margin-right: 10px;
}

.toolbar {
	background: #f2f2f2;
	padding: 10px;
	margin: 10px 0px;
	.el-form-item {
		margin-bottom: 10px;
	}
}

.fade-enter-active,
.fade-leave-active {
	transition: all .2s ease;
}

.fade-enter,
.fade-leave-active {
	opacity: 0;
}
img.thumb[lazy=error] {
    background: url(assets/images/default.jpg) no-repeat center center;
    background-size: cover;
}
img.thumb[lazy=loading] {
    background: url(assets/images/loading.svg) no-repeat center center #eaeaea;
    background-size: cover;
}

.el-menu-item{
    color: #fff!important;
}
.el-menu-item:hover {
    color: #000!important;
}
.el-submenu{
	overflow: hidden;
}
.el-submenu .el-menu-item:hover, .el-submenu__title:hover {
    color: #000!important;
}
.el-menu-item.is-active{
	background-color: #fff!important;
	color: #000!important;
}

.dialog .el-form-item__content{
    width: 350px;
    max-width: 350px;
}
.search-input{
	width: 200px!important;
}
.el-submenu.is-opened .el-submenu__title,
.el-submenu__title{
	color: #fff!important
}
.el-submenu.is-opened .el-menu{
	background-color: #000;
}
</style>